package com.hwl.lab.repository;

import com.hwl.lab.entity.Chronic;
import org.springframework.data.jpa.repository.JpaRepository;

import javax.transaction.Transactional;
import java.util.List;

public interface ChronicRepository extends JpaRepository<Chronic,Long> {
    @Transactional
    Chronic findByChronicid(String areaid);
    @Transactional
    void deleteByChronicid(String areaid);
    @Transactional
    Chronic findByChengid(String chengid);
}
